3.2724 \(\int x^{-1-n-n p} (a+b x^n)^p \, dx\)

Optimal. Leaf size=32 \[ -\frac {x^{-n (p+1)} \left (a+b x^n\right )^{p+1}}{a n (p+1)} \]

[Out]

-(a+b*x^n)^(1+p)/a/n/(1+p)/(x^(n*(1+p)))

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.048, Rules used = {264} \[ -\frac {x^{-n (p+1)} \left (a+b x^n\right )^{p+1}}{a n (p+1)} \]

Antiderivative was successfully verified.

[In]

Int[x^(-1 - n - n*p)*(a + b*x^n)^p,x]

[Out]

-((a + b*x^n)^(1 + p)/(a*n*(1 + p)*x^(n*(1 + p))))

Rule 264

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[((c*x)^(m + 1)*(a + b*x^n)^(p + 1))/(a
*c*(m + 1)), x] /; FreeQ[{a, b, c, m, n, p}, x] && EqQ[(m + 1)/n + p + 1, 0] && NeQ[m, -1]

Rubi steps

\begin {align*} \int x^{-1-n-n p} \left (a+b x^n\right )^p \, dx &=-\frac {x^{-n (1+p)} \left (a+b x^n\right )^{1+p}}{a n (1+p)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 32, normalized size = 1.00 \[ -\frac {x^{-n (p+1)} \left (a+b x^n\right )^{p+1}}{a n (p+1)} \]

Antiderivative was successfully verified.

[In]

Integrate[x^(-1 - n - n*p)*(a + b*x^n)^p,x]

[Out]

-((a + b*x^n)^(1 + p)/(a*n*(1 + p)*x^(n*(1 + p))))

________________________________________________________________________________________

fricas [A]  time = 0.64, size = 53, normalized size = 1.66 \[ -\frac {{\left (b x x^{-n p - n - 1} x^{n} + a x x^{-n p - n - 1}\right )} {\left (b x^{n} + a\right )}^{p}}{a n p + a n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-n*p-n-1)*(a+b*x^n)^p,x, algorithm="fricas")

[Out]

-(b*x*x^(-n*p - n - 1)*x^n + a*x*x^(-n*p - n - 1))*(b*x^n + a)^p/(a*n*p + a*n)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x^{n} + a\right )}^{p} x^{-n p - n - 1}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-n*p-n-1)*(a+b*x^n)^p,x, algorithm="giac")

[Out]

integrate((b*x^n + a)^p*x^(-n*p - n - 1), x)

________________________________________________________________________________________

maple [F]  time = 0.21, size = 0, normalized size = 0.00 \[ \int x^{-n p -n -1} \left (b \,x^{n}+a \right )^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(-n*p-n-1)*(b*x^n+a)^p,x)

[Out]

int(x^(-n*p-n-1)*(b*x^n+a)^p,x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x^{n} + a\right )}^{p} x^{-n p - n - 1}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-n*p-n-1)*(a+b*x^n)^p,x, algorithm="maxima")

[Out]

integrate((b*x^n + a)^p*x^(-n*p - n - 1), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.03 \[ \int \frac {{\left (a+b\,x^n\right )}^p}{x^{n+n\,p+1}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x^n)^p/x^(n + n*p + 1),x)

[Out]

int((a + b*x^n)^p/x^(n + n*p + 1), x)

________________________________________________________________________________________

sympy [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: HeuristicGCDFailed} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(-n*p-n-1)*(a+b*x**n)**p,x)

[Out]

Exception raised: HeuristicGCDFailed

________________________________________________________________________________________